﻿using FluentValidation;
using Mes.Application.DTO.Inputs;
using Mes.Application.DTO.Inputs.Operations;

namespace Mes.Application.Web.Validators.ProcessRoute
{
    public class UpdateProcessRouteInputValidator : AbstractValidator<UpdateProcessRouteInput>
    {
        public UpdateProcessRouteInputValidator()
        {
            RuleFor(x => x.Remark).Length(0, 200).WithMessage("备注长度必须在0到200之间");
        }
    }
}
